package com.trio.zjq.entity;

import lombok.Data;

/**
 * 用户拥有的图书信息.
 *
 * @author 张俊强~.
 * @date 2017/11/22-10:00.
 */
@Data
public class BookInfo {

    private int bookId;
    private String bookName;
    private int bookNum;
    private UserInfo userInfo;

    @Override
    public String toString() {
        return "BookInfo{" +
                "bookId=" + bookId +
                ", bookName='" + bookName + '\'' +
                ", bookNum=" + bookNum +
                ", userInfo=" + userInfo +
                '}';
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public int getBookNum() {
        return bookNum;
    }

    public void setBookNum(int bookNum) {
        this.bookNum = bookNum;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }
}
